import { request } from "../request"
// 上传图片
export const uploadAvatar = (data) => {
  return request({
    url: 'api/uploadAvatar',
    method: 'POST',
    data
  })
}
// 获取质保列表
export const qualityListSmall2 = (data) => {
  return request({
    url: 'quality/qualityListSmall2',
    method: 'POST',
    data
  })
}
// 获取质保详情
export const qualityDetilsSmall = (data) => {
  return request({
    url: 'quality/qualityDetilsSmall',
    method: 'POST',
    data
  })
}
// 添加质保列表
export const qualityListAdd = (data) => {
  return request({
    url: 'quality/qualityListAdd',
    method: 'POST',
    data
  })
}
// 上传质保图片识别
export const qualityListAddSmall = (data) => {
  return request({
    url: 'quality/qualityListAddSmall',
    method: 'POST',
    data
  })
}
// 上传质保图片识别
export const qualityListAddSmall2 = (data) => {
  return request({
    url: 'quality/qualityListAddSmall2',
    method: 'POST',
    data
  })
}
// 质保详情
export const qualitDetils = (data) => {
  return request({
    url: 'quality/qualitDetils',
    method: 'POST',
    data
  })
}
// 质保修改
export const qualitChange = (data) => {
  return request({
    url: 'quality/qualitChange',
    method: 'POST',
    data
  })
}

// 质保查询用户
export const qualitySerachMy = (data) => {
  return request({
    url: 'quality/qualitySerachMy',
    method: 'POST',
    data
  })
}
// 获取门店列表

export const getstorelist = (data) => {
  return request({
    url: 'store2/getstorelist',
    method: 'POST',
    data
  })
}
// 根据门店以及质保批号筛选可用膜官网
export const filmDetilsNumber = (data) => {
  return request({
    url: 'film/filmDetilsNumber',
    method: 'POST',
    data
  })
}
// 发货
export const storeInventoryAddSamll = (data) => {
  return request({
    url: 'store2/storeInventoryAddSamll',
    method: 'POST',
    data
  })
}
// 门店发货列表
export const storeDeliverList = (data) => {
  return request({
    url: 'store2/storeDeliverList',
    method: 'POST',
    data
  })
}
// 门店库存
export const storeInventory = (data) => {
  return request({
    url: 'store2/storeInventory',
    method: 'POST',
    data
  })
}
// 获取门店未使用的库存
export const storeInventoryUnUse = (data) => {
  return request({
    url: 'store2/storeInventoryUnUse',
    method: 'POST',
    data
  })
}
// 获取门店已经使用的库存
export const storeInventoryUse = (data) => {
  return request({
    url: 'store2/storeInventoryUse',
    method: 'POST',
    data
  })
}
// 获取门店使用完的库存
export const storeInventoryUseAll = (data) => {
  return request({
    url: 'store2/storeInventoryUseAll',
    method: 'POST',
    data
  })
}
// 收货列表
export const storeReceiveList = (data) => {
  return request({
    url: 'store2/storeReceiveList',
    method: 'POST',
    data
  })
}
// 修改收货状态
export const storeReceivechangeStatus = (data) => {
  return request({
    url: 'store2/storeReceivechangeStatus',
    method: 'POST',
    data
  })
}
// 根据质保批号获取膜信息
export const qualitNumberDetils = (data) => {
  return request({
    url: 'quality/qualitNumberDetils',
    method: 'POST',
    data
  })
}
// 获取门店质保列小程序
export const storeQualityListSamll = (data) => {
  return request({
    url: 'store2/storeQualityListSamll',
    method: 'POST',
    data
  })
}

// 修改门店
export const storeChange = (data) => {
  return request({
    url: 'store2/storeChange',
    method: 'POST',
    data
  })
}
// 门店详情
export const storeDetils = (data) => {
  return request({
    url: 'store2/storeDetils',
    method: 'POST',
    data
  })
}
// 门店详情
export const recognitionimg = (data) => {
  return request({
    url: 'recognitionImg/recognitionimg',
    method: 'POST',
    data
  })
}

// 图片识别
export const recognitionImgQualit2 = (data) => {
  return request({
    url: 'recognitionImg/recognitionImgQualit2',
    method: 'POST',
    data
  })
}

// 图片识别车牌
export const recognitionImgQualitChepai = (data) => {
  return request({
    url: 'recognitionImg/recognitionImgQualitChepai',
    method: 'POST',
    data
  })
}